home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / GRAPHICS / SUNCAD.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-09-09  |  1KB  |  53 lines

  1. echo off
  2. echo SunsetCAD installation program.
  3. if "%1" == "" goto error
  4. if "%2" == "" goto error
  5. echo.
  6. echo Installing from %1 to %2
  7.  
  8. echo Changing to Drive %2
  9. %2
  10. echo Creating Sunset Directory on %2
  11. cd \
  12. md \sunset
  13. echo Changing to Sunset Directory
  14. cd \sunset
  15. copy %1readme.txt
  16. echo.
  17. echo Copying SUN100A.EXE to Drive %2
  18. copy %1SUN100A.exe 
  19. echo.
  20. echo Extracting files from achive.
  21. SUN100A.exe
  22. echo.
  23. echo Deleting SUN100A.EXE from Drive %2
  24. del SUN100A.exe
  25. echo.
  26. echo Copying SUN100B.EXE to Drive %2
  27. copy %1SUN100B.exe 
  28. echo.
  29. echo Extracting files from achive.
  30. SUN100B.exe
  31. echo.
  32. echo Deleting SUN100B.EXE from Drive %2
  33. del SUN100B.exe
  34.  
  35. echo.
  36. echo SunsetCAD has now been installed onto Drive %2 in directory \SUNSET.
  37. echo Now you need to add the program to a group in the program manager
  38. echo of windows.
  39. echo.
  40. echo See windows manual for Changing the Contents of a Group or from the
  41. echo program manager select:-
  42. echo                    Help
  43. echo                    Procedures
  44. echo                    Adding Items to a Group
  45. echo.
  46. echo Use the Browse button to select SUNSET.EXE from the \SUNSET directory.
  47. goto end
  48. :error
  49. echo You must specify the source and destination when using install
  50. echo Example:   To install from drive A to Drive C use
  51. echo                   INSTALL A: C:
  52. :end
  53.